// Decompiled on 周六 2月 22 19:31:49 CST 2025 with Zomboid Decompiler v0.1.3 using Vineflower.
package zombie.characters.WornItems;

import java.util.ArrayList;

public final class BodyLocations {
    protected static final ArrayList<BodyLocationGroup> groups = new ArrayList();

    public static BodyLocationGroup getGroup(String id) {
        for (int _int = 0; _int < groups.size(); _int++) {
            BodyLocationGroup bodyLocationGroup0 = (BodyLocationGroup)groups.get(_int);
            if (bodyLocationGroup0.id.equals(id)) {
                return bodyLocationGroup0;
            }
        }

        BodyLocationGroup bodyLocationGroup1 = new BodyLocationGroup(id);
        groups.add(bodyLocationGroup1);
        return bodyLocationGroup1;
    }

    public static void Reset() {
        groups.clear();
    }
}
